package com.zretc.notice.Dao;


import com.zretc.notice.pojo.ActivityParticipants;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ActParticipantsDao extends JpaRepository<ActivityParticipants,Integer> {
    //List<ActivityParticipants> findAllByActivityId(Integer activityId);

    List<ActivityParticipants> findAllByUserId(Integer userId);
}
